
/****************************** 临时接口 ******************************/
import req from '@/api/http.js'

// 登录
export const login = params => req('post', '/dt-service-manager/auth/login', params)

// 开始传输数据
export const startTransport = params => req('post', '/dt-service-env/scene-data/startSend', params)

// 关闭传输数据
export const stopTransport = params => req('post', '/dt-service-env/scene-data/stopSend', params)

// 查询场景详情
export const getSceneDetail = params => req('get', '/dt-service-manager/res-scene/detail', params)

// 暂停发送场景数据
export const pauseSend = params => req('post', '/dt-service-env/scene-data/pauseSend', params)

// 继续发送场景数据
export const resumeSend = params => req('post', '/dt-service-env/scene-data/resumeSend', params)

// 轨迹实时数据
export const getRealOrbitList = params => req('get', '/dt-service-manager/res-scene/listPVWithRealTime', params)

//获取根据轨道类型分组的卫星数据
export const getSatelliteTree = params => req('get', '/dt-service-manager/res-scene/getSatelliteTree', params)

// 获取实体位置和姿态数据
export const getEntityPosAndQua = params => req('get', '/dt-service-manager/res-scene/listPVWithAtt', params)

// 获取模型缩略图
export const getModelPreviewFile = params => req('get', '/dt-service-manager/res-icon-model/getModelPreviewFile', params)

